#此文件只是为了适应 JetBrains CLion 的 IDE环境,不可以此作为项目的构建文件
cmake_minimum_required(VERSION 3.12)
project(codeblocks)

set(CMAKE_CXX_STANDARD 14)
set(TARGET codeblocks)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/include)
find_package(wxWidgets REQUIRED)
include(${wxWidgets_USE_FILE})
add_executable(${TARGET} ${CMAKE_CURRENT_SOURCE_DIR}/src/src/main.cpp)
target_link_libraries(${TARGET} ${wxWidgets_LIBRARIES})